import { defineStore } from 'pinia'
// import { setCookie } from '@/utils/cookies'

const state = () => ({
  isCollapse: false
})

const actions = {
  setisCollapse (isCollapse) {
    // setCookie('ISCOLLAPSE', isCollapse)
    this.isCollapse = isCollapse
  }
}

export default defineStore(
  'app',
  { state, actions }
)
